<?php defined('SYSPATH') or die('No direct script access.');
/**
 * Basic comment model. To use it, create a model that extends this class:
 *
 *     class Model_Comment extends Sprig_Model_Comment {}
 *
 * @package    Flosee
 * @author     Andy Taylor
 * @copyright  (c) 2010 Flosee Ltd.
 * @license    GPL
 */
abstract class Sprig_Model_Userdetail extends Sprig {

	protected $_title_key = 'id';

	protected $_sorting = array('id' => 'asc');

	protected function _init()
	{
		$this->_fields += array(
			'id' => new Sprig_Field_Auto,
			'user' => new Sprig_Field_Integer,
			'firstname' => new Sprig_Field_Char,
			'lastname' => new Sprig_Field_Char,
		);
	}
} // End Posts
